[vlc-devel] commit: Fix behaviour of DVDSimple button while not in DVD opening ( Jean-Baptiste Kempf )
git version control
git at videolan.org
Mon Jul 7 18:05:10 CEST 2008
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jul 7 07:10:47 2008 -0700| [b660dd5cb1c88f15c3d18ad14ad2d7f7c0e99d9d]
Fix behaviour of DVDSimple button while not in DVD opening
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b660dd5cb1c88f15c3d18ad14ad2d7f7c0e99d9d
---
modules/gui/qt4/components/open_panels.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index ae087c1..88e5ad6 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -299,6 +299,7 @@ void DiscOpenPanel::updateButtons()
ui.chapterLabel->show();
ui.chapterSpin->show();
ui.diskOptionBox_2->show();
+ ui.dvdsimple->setEnabled( true );
}
else if ( ui.vcdRadioButton->isChecked() )
{
@@ -311,6 +312,7 @@ void DiscOpenPanel::updateButtons()
ui.chapterLabel->hide();
ui.chapterSpin->hide();
ui.diskOptionBox_2->show();
+ ui.dvdsimple->setEnabled( false );
}
else /* CDDA */
{
@@ -323,6 +325,7 @@ void DiscOpenPanel::updateButtons()
ui.chapterLabel->hide();
ui.chapterSpin->hide();
ui.diskOptionBox_2->hide();
+ ui.dvdsimple->setEnabled( false );
}
updateMRL();
More information about the vlc-devel
mailing list