[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeedu/kstars/kstars/tools
From: Prakash Mohan <prak902000 () gmail ! com>
Date: 2010-07-06 15:10:43
Message-ID: 20100706151043.B73B0AC85D () svn ! kde ! org
[Download RAW message or body]
SVN commit 1146746 by prakash:
Show the default image only if there is a single selection. Otherwise hide the image preview.
CCMAIL: kstars-devel@kde.org
M +2 -2 observinglist.cpp
--- trunk/KDE/kdeedu/kstars/kstars/tools/observinglist.cpp #1146745:1146746
@@ -137,7 +137,7 @@
ui->ImagePreview->installEventFilter( this );
ui->TableView->viewport()->installEventFilter( this );
ui->SessionView->viewport()->installEventFilter( this );
- setDefaultImage();
+ // setDefaultImage();
//Connections
connect( this, SIGNAL( closeClicked() ), this, SLOT( slotClose() ) );
connect( ui->TableView, SIGNAL( doubleClicked( const QModelIndex& ) ),
@@ -445,7 +445,6 @@
showScope = false;
ui->ImagePreview->clearPreview();
ui->ImagePreview->setCursor( Qt::ArrowCursor );
- setDefaultImage();
QModelIndexList selectedItems;
QString newName;
SkyObject *o;
@@ -490,6 +489,7 @@
#ifdef HAVE_INDI_H
showScope = true;
#endif
+ setDefaultImage();
if ( found ) {
m_CurrentObject = o;
QPoint pos(0,0);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic