Skip to content

Commit

Permalink
Correction de bug
Browse files Browse the repository at this point in the history
Impossibilité de changer l’ordre des métadonnées.
  • Loading branch information
Skade86 committed Apr 6, 2015
1 parent ee7335c commit 61b023c
Show file tree
Hide file tree
Showing 6 changed files with 78 additions and 54 deletions.
2 changes: 1 addition & 1 deletion build_number
Original file line number Diff line number Diff line change
@@ -1 +1 @@
820
828
2 changes: 1 addition & 1 deletion include/version.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define BUILD 820
#define BUILD 828
8 changes: 7 additions & 1 deletion sources/dirprefdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ DirPrefDialog::DirPrefDialog(QWidget * parent,XmlDomHandler * domHandler,int row
{
setupUi(this);

QTabBar* curTab = new QTabBar();
curTab = prefTab->tabBar();
curTab -> moveTab(0,2);

prefTab->setCurrentIndex(0);
metaAdded=0;

if (!Preferences::p_getPreamble().isEmpty()) instructionEdit->setPlainText(Preferences::p_getPreamble());
Expand Down Expand Up @@ -284,7 +289,8 @@ void DirPrefDialog::on_okButton_clicked()
}
else Preferences::p_setCompiler("pdflatex");

if (metaAdded>0) updateMetaDatas();
// if (metaAdded>0) updateMetaDatas();
updateMetaDatas();
emit aboutToClose();
close();
}
Expand Down
Binary file modified translations/texomaker_fr.qm
Binary file not shown.
Loading

0 comments on commit 61b023c

Please sign in to comment.