If we already hava a running instance and 'cantata' is called, then show the previous instance.

BUG:3
This commit is contained in:
craig.p.drummond@gmail.com
2012-04-27 11:06:32 +00:00
parent 4999dc2f2c
commit d70f8669c2

View File

@@ -63,7 +63,9 @@ public:
}
int newInstance() {
if (!w) {
if (w) {
w->showNormal();
} else {
if (0==Utils::getAudioGroupId() && KMessageBox::Cancel==KMessageBox::warningContinueCancel(0,
i18n("You are not currently a member of the \"audio\" group. "
"Cantata will function better (saving of album covers, lyrics, etc. with the correct permissions) if you "