Commit a6d76a08 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Hide EditProfileDialog when ColorSchemeEditor is visible

Hide EditProfileDialog when opening ColorSchemeEditor.  When the color
scheme is open, the terminal is usually blocked by the EditProfile
dialog.  So users have to move that dialog to see the terminal.  This
patch hides the EditProfile dialog.

Patch by renan fargetton renan.fargetton@gmail.com

REVIEW: 110536
parent 47e25b4c
......@@ -708,6 +708,10 @@ void EditProfileDialog::showColorSchemeEditor(bool isNewScheme)
this, SLOT(saveColorScheme(ColorScheme,bool)));
_colorDialog->setup(colors, isNewScheme);
// Hide the parent dialog while ColorScheme is open
this->hide();
connect(_colorDialog, SIGNAL(finished()), this, SLOT(show()));
_colorDialog->show();
}
void EditProfileDialog::closeColorSchemeEditor()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment