From 3d4f30f31cc53049d83862482ce88566eee0d689 Mon Sep 17 00:00:00 2001 From: paulojamorim Date: Sun, 25 Oct 2009 17:01:56 +0000 Subject: [PATCH] FIX: Error in the Windows XP --- .gitattributes | 1 + .pydevproject | 10 ++++++++++ invesalius/control.py | 1 + invesalius/gui/dicom_preview_panel.py | 8 ++++---- 4 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 .pydevproject diff --git a/.gitattributes b/.gitattributes index f8870b6..607c7db 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,5 @@ * text=auto !eol +/.pydevproject -text /AUTHORS.txt -text /HEADER.txt -text /INSTALL.txt -text diff --git a/.pydevproject b/.pydevproject new file mode 100644 index 0000000..c76d824 --- /dev/null +++ b/.pydevproject @@ -0,0 +1,10 @@ + + + + + +/InVesalius3/src + +python 2.6 +Default + diff --git a/invesalius/control.py b/invesalius/control.py index c5e31f5..b8887dd 100755 --- a/invesalius/control.py +++ b/invesalius/control.py @@ -25,6 +25,7 @@ class Controller(): self.__bind_events() self.frame = frame self.progress_dialog = None + self.cancel_import = False def __bind_events(self): diff --git a/invesalius/gui/dicom_preview_panel.py b/invesalius/gui/dicom_preview_panel.py index f0cb602..e6d7d3d 100755 --- a/invesalius/gui/dicom_preview_panel.py +++ b/invesalius/gui/dicom_preview_panel.py @@ -363,14 +363,14 @@ class DicomPreviewSeries(wx.Panel): for i in xrange(NROWS): for j in xrange(NCOLS): p = Preview(self) - if (i == j == 0): - self._show_shadow(p) + #if (i == j == 0): + #self._show_shadow(p) #p.Hide() self.previews.append(p) self.grid.Add(p, 1, flag=wx.EXPAND) - def _show_shadow(self, preview): - preview.ShowShadow() + #def _show_shadow(self, preview): + # preview.ShowShadow() def _bind_events(self): -- libgit2 0.21.2