|
Line
Link Here
|
| 0 |
-- src/hugin/MainFrame.cpp |
0 |
++ src/hugin/MainFrame.cpp |
|
Lines 696-706
Link Here
|
| 696 |
new wxAddImagesCmd(pano,filesv) |
696 |
new wxAddImagesCmd(pano,filesv) |
| 697 |
); |
697 |
); |
| 698 |
} |
698 |
} |
| 699 |
} else { |
|
|
| 700 |
// nothing to open |
| 701 |
SetStatusText( _("Add Image: cancel")); |
| 702 |
} |
| 703 |
|
| 704 |
DEBUG_INFO ( wxString::Format(wxT("img_ext: %d"), dlg.GetFilterIndex()).mb_str() ) |
699 |
DEBUG_INFO ( wxString::Format(wxT("img_ext: %d"), dlg.GetFilterIndex()).mb_str() ) |
| 705 |
// save the image extension |
700 |
// save the image extension |
| 706 |
switch ( dlg.GetFilterIndex() ) { |
701 |
switch ( dlg.GetFilterIndex() ) { |
|
Lines 709-714
Link Here
|
| 709 |
case 2: config->Write(wxT("lastImageType"), wxT("all files")); break; |
704 |
case 2: config->Write(wxT("lastImageType"), wxT("all files")); break; |
| 710 |
} |
705 |
} |
| 711 |
|
706 |
|
|
|
707 |
} else { |
| 708 |
// nothing to open |
| 709 |
SetStatusText( _("Add Image: cancel")); |
| 710 |
} |
| 711 |
|
| 712 |
DEBUG_TRACE(""); |
712 |
DEBUG_TRACE(""); |
| 713 |
} |
713 |
} |
| 714 |
|
714 |
|