Skip to Content.
Sympa Menu

idok-commit - [idok-commit] idok commit r151 - trunk/java/ch/idok/qtgui

idok-commit AT lists.psi.ch

Subject: Commit emails of the iDok project

List archive

[idok-commit] idok commit r151 - trunk/java/ch/idok/qtgui


Chronological Thread 
  • From: "Apache" <apache AT savannah.psi.ch>
  • To: idok-commit AT lists.psi.ch
  • Subject: [idok-commit] idok commit r151 - trunk/java/ch/idok/qtgui
  • Date: Fri, 25 Jul 2008 16:09:13 +0200
  • List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
  • List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>

Author: huebner AT PSI.CH
Date: Fri Jul 25 16:09:12 2008
New Revision: 151

Log:
Fixed a bug where opening the "Browse Preview" and "Search Preview" a second
time crashed the JVM.

Modified:
trunk/java/ch/idok/qtgui/MainWindow.java

Modified: trunk/java/ch/idok/qtgui/MainWindow.java
==============================================================================
--- trunk/java/ch/idok/qtgui/MainWindow.java (original)
+++ trunk/java/ch/idok/qtgui/MainWindow.java Fri Jul 25 16:09:12 2008
@@ -909,6 +909,7 @@
if (allFiles != null) {
previewGrid_ = new PreviewGrid(rc_, allFiles,
ui_.browsePreviewTab);
+ previewBrowseScrollArea_.takeWidget();
previewBrowseScrollArea_.setWidget(previewGrid_);
previewGrid_.documentSelected.connect(dc_,
"previewDocument(RepositoryPath)");
@@ -920,6 +921,7 @@
if (allFiles != null) {
previewSearchGrid_ = new PreviewGrid(rc_, allFiles,
ui_.searchPreviewTab);
+ previewSearchScrollArea_.takeWidget();
previewSearchScrollArea_.setWidget(previewSearchGrid_);
previewSearchGrid_.documentSelected.connect(dc_,
"previewDocument(RepositoryPath)");



  • [idok-commit] idok commit r151 - trunk/java/ch/idok/qtgui, Apache, 07/25/2008

Archive powered by MHonArc 2.6.19.

Top of Page