Skip to content

Commit

Permalink
restored tooltip on command run text
Browse files Browse the repository at this point in the history
  • Loading branch information
Freaxed committed Nov 24, 2024
1 parent 3277d9c commit 2775a7a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/ui/GenioWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2600,6 +2600,11 @@ GenioWindow::_InitCommandRunToolbar()
fRunGroup->AddGlue();
fRunGroup->Hide();

// Update run command working directory tooltip too
BString tooltip("cwd: ");
tooltip << (const char*)gCFG["projects_directory"];
fRunConsoleProgramText->SetToolTip(tooltip);

}


Expand Down Expand Up @@ -3585,9 +3590,9 @@ GenioWindow::_ProjectFolderActivate(ProjectFolder *project)
}

// Update run command working directory tooltip too
/*BString tooltip;
BString tooltip;
tooltip << "cwd: " << fActiveProject->Path();
fRunConsoleProgramText->SetToolTip(tooltip);*/
fRunConsoleProgramText->SetToolTip(tooltip);
}


Expand Down

0 comments on commit 2775a7a

Please sign in to comment.