Ui glitches

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35313 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2010-09-07 11:58:42 +00:00
parent 8f457065c5
commit db1f90a7f8
3 changed files with 32 additions and 3 deletions

View File

@ -95,8 +95,11 @@ void GuiCompareHistory::selectBetweenrev()
void GuiCompareHistory::enableControls()
{
bool rb = revbackRB->isChecked();
oldL->setEnabled(!rb);
newL->setEnabled(!rb);
rev1SB->setEnabled(!rb);
rev2SB->setEnabled(!rb);
rev2SB->setEnabled(!rb);
betweenrevRB->setChecked(!rb);
revbackSB->setEnabled(rb);
}

View File

@ -2687,7 +2687,7 @@ void GuiView::dispatchVC(FuncRequest const & cmd)
break;
}
LYXERR(Debug::LYXVC, "Launching comparison for fetched revisions: " <<
LYXERR(Debug::LYXVC, "Launching comparison for fetched revisions:\n" <<
f1 << "\n" << f2 << "\n" );
string par = "compare run " + f1 + " " + f2;
lyx::dispatch(FuncRequest(LFUN_DIALOG_SHOW, par));

View File

@ -5,8 +5,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>356</width>
<height>172</height>
<width>375</width>
<height>162</height>
</rect>
</property>
<property name="windowTitle" >
@ -84,6 +84,19 @@
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="oldL" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Minimum" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>Old:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="rev1SB" >
<property name="sizePolicy" >
@ -106,6 +119,19 @@
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="newL" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Minimum" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>New:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="rev2SB" >
<property name="sizePolicy" >