Some clean up to the terminal configurations.

This commit is contained in:
Martín Lucas Golini
2025-12-27 20:01:48 -03:00
parent 8415e62b4c
commit 7cfd823881
8 changed files with 57 additions and 58 deletions

View File

@@ -1519,7 +1519,6 @@ void App::onWidgetFocusChange( UIWidget* widget ) {
mDocInfo->setVisible( widget && widget->isType( UI_TYPE_CODEEDITOR ) );
mSettings->updateDocumentMenu();
mSettings->updateTerminalMenu();
if ( widget && !widget->isType( UI_TYPE_CODEEDITOR ) ) {
if ( widget->isType( UI_TYPE_TERMINAL ) )
setAppTitle( widget->asType<UITerminal>()->getTitle() );
@@ -3016,10 +3015,6 @@ const std::stack<std::string>& App::getRecentClosedFiles() const {
return mRecentClosedFiles;
}
void App::updateTerminalMenu() {
mSettings->updateTerminalMenu();
}
UIMessageBox* App::newInputMsgBox( const String& title, const String& msg ) {
UIMessageBox* msgBox = UIMessageBox::New( UIMessageBox::INPUT, msg );
msgBox->setTitle( title );