Merge remote-tracking branch 'maqifrnswa/feature1325'

moveref
Marc Zinnschlag 10 years ago
commit bdc28c0523

@ -236,6 +236,7 @@ void CS::Editor::showSettings()
if (mSettings.isHidden()) if (mSettings.isHidden())
mSettings.show(); mSettings.show();
mSettings.move (QCursor::pos());
mSettings.raise(); mSettings.raise();
mSettings.activateWindow(); mSettings.activateWindow();
} }

@ -104,7 +104,7 @@ void CSVDoc::LoadingDocument::nextRecord (int records)
void CSVDoc::LoadingDocument::abort (const std::string& error) void CSVDoc::LoadingDocument::abort (const std::string& error)
{ {
mAborted = true; mAborted = true;
mError->setText (QString::fromUtf8 (("Loading failed: " + error).c_str())); mError->setText (QString::fromUtf8 (("<font color=red>Loading failed: " + error + "</font>").c_str()));
mButtons->setStandardButtons (QDialogButtonBox::Close); mButtons->setStandardButtons (QDialogButtonBox::Close);
} }
@ -199,4 +199,4 @@ void CSVDoc::Loader::loadMessage (CSMDoc::Document *document, const std::string&
if (iter!=mDocuments.end()) if (iter!=mDocuments.end())
iter->second->addMessage (message); iter->second->addMessage (message);
} }

Loading…
Cancel
Save