mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-25 17:44:59 +00:00
get rid of QT3_SUPPORT and some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14770 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
840a9a6d0e
commit
d150b99ed7
@ -67,7 +67,7 @@ void QWrap::apply()
|
|||||||
|
|
||||||
params.width = LyXLength(value, unit);
|
params.width = LyXLength(value, unit);
|
||||||
|
|
||||||
switch (dialog_->valignCO->currentItem()) {
|
switch (dialog_->valignCO->currentIndex()) {
|
||||||
case 0:
|
case 0:
|
||||||
params.placement.erase();
|
params.placement.erase();
|
||||||
break;
|
break;
|
||||||
@ -115,7 +115,7 @@ void QWrap::update_contents()
|
|||||||
else if (params.placement == "p")
|
else if (params.placement == "p")
|
||||||
item = 3;
|
item = 3;
|
||||||
|
|
||||||
dialog_->valignCO->setCurrentItem(item);
|
dialog_->valignCO->setCurrentIndex(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace frontend
|
} // namespace frontend
|
||||||
|
Loading…
x
Reference in New Issue
Block a user