mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
don't crash: apply values before closing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13979 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1d14cdd0ea
commit
40783d2ebb
@ -14,13 +14,12 @@
|
||||
|
||||
#include "QTabularDialog.h"
|
||||
#include "QTabular.h"
|
||||
//Added by qt3to4:
|
||||
#include <QCloseEvent>
|
||||
#include "validators.h"
|
||||
#include "qt_helpers.h"
|
||||
|
||||
#include "controllers/ControlTabular.h"
|
||||
|
||||
#include <QCloseEvent>
|
||||
#include <QCheckBox>
|
||||
#include <QPushButton>
|
||||
#include <QLineEdit>
|
||||
@ -36,9 +35,6 @@ QTabularDialog::QTabularDialog(QTabular * form)
|
||||
{
|
||||
setupUi(this);
|
||||
|
||||
connect(closePB, SIGNAL(clicked()),
|
||||
form, SLOT(slotClose()));
|
||||
|
||||
widthED->setValidator(unsignedLengthValidator(widthED));
|
||||
|
||||
connect( borderSetPB, SIGNAL( clicked() ), this, SLOT( borderSet_clicked() ) );
|
||||
@ -93,6 +89,7 @@ void QTabularDialog::closeEvent(QCloseEvent * e)
|
||||
void QTabularDialog::close_clicked()
|
||||
{
|
||||
form_->closeGUI();
|
||||
form_->slotClose();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user