mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
* GuiBoc.{cpp,h}:
- compare against combo box data instead of l7n string. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34709 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ecfe108cde
commit
3e2ca552af
@ -111,9 +111,10 @@ GuiBox::GuiBox(QWidget * parent) : InsetParamsWidget(parent)
|
||||
}
|
||||
|
||||
|
||||
void GuiBox::on_innerBoxCO_activated(QString const & str)
|
||||
void GuiBox::on_innerBoxCO_activated(int index)
|
||||
{
|
||||
bool const ibox = (str != qt_("None"));
|
||||
bool const ibox =
|
||||
(innerBoxCO->itemData(index).toString() != "none");
|
||||
QString const outer =
|
||||
typeCO->itemData(typeCO->currentIndex()).toString();
|
||||
valignCO->setEnabled(ibox);
|
||||
|
@ -28,7 +28,7 @@ public:
|
||||
GuiBox(QWidget * parent = 0);
|
||||
|
||||
private Q_SLOTS:
|
||||
void on_innerBoxCO_activated(QString const &);
|
||||
void on_innerBoxCO_activated(int);
|
||||
void on_typeCO_activated(int);
|
||||
void initDialog();
|
||||
void on_heightCB_stateChanged(int state);
|
||||
|
Loading…
Reference in New Issue
Block a user