2016-04-26 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in 'rdlibrary/edit_cart.cpp' that threw a segfault
	when attempting to open multiple carts simultaneously.
This commit is contained in:
Fred Gleason
2016-04-26 15:25:52 -04:00
parent 66e1657399
commit 09ed6764ad
2 changed files with 4 additions and 1 deletions

View File

@@ -15084,3 +15084,6 @@
* Incremented the database version to 255.
2016-04-25 Fred Gleason <fredg@paravelsystems.com>
* Incremented the package version to 2.12.0int00.
2016-04-26 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'rdlibrary/edit_cart.cpp' that threw a segfault
when attempting to open multiple carts simultaneously.

View File

@@ -779,7 +779,7 @@ EditCart::EditCart(unsigned number,QString *path,bool new_cart,bool profile_rip,
rdcart_cut_sched_edit->show();
}
}
if(rdcart_cart->type()==RDCart::Macro) {
if((rdcart_cart==NULL)||(rdcart_cart->type()==RDCart::Macro)) {
rdcart_cut_sched_box->hide();
rdcart_cut_sched_label->hide();
}