Subversion Repositories Scribus

Compare Revisions

Regard whitespace Rev 15230 → Rev 15231

/trunk/Scribus/scribus/ui/storyeditor.cpp
3233,7 → 3233,7
QString fileName = "";
PrefsContext* dirs = prefsManager->prefsFile->getContext("dirs");
QString wdir = dirs->get("story_save", prefsManager->appPrefs.pathPrefs.documents);
CustomFDialog dia(this, wdir, tr("Save as"), tr("Text Files (*.txt);;All Files(*)"), fdShowCodecs);
CustomFDialog dia(this, wdir, tr("Save as"), tr("Text Files (*.txt);;All Files(*)"), fdShowCodecs|fdHidePreviewCheckBox);
qApp->processEvents();
if (dia.exec() != QDialog::Accepted)
{
/trunk/Scribus/scribus/scribus.cpp
5312,7 → 5312,7
wdir = prefsManager->prefsFile->getContext("dirs")->get("save_text", prefsDocDir);
else
wdir = prefsManager->prefsFile->getContext("dirs")->get("save_text", ".");
QString fn = CFileDialog( wdir, tr("Save As"), tr("Text Files (*.txt);;All Files(*)"), "", fdShowCodecs);
QString fn = CFileDialog( wdir, tr("Save As"), tr("Text Files (*.txt);;All Files(*)"), "", fdShowCodecs|fdHidePreviewCheckBox);
if (!fn.isEmpty())
{
prefsManager->prefsFile->getContext("dirs")->set("save_text", fn.left(fn.lastIndexOf("/")));